Contents | Index | < Browse | Browse >

LETTERisxdigitULETTER Tests for hexadecimal digit characters.

Overview
#include <ctype.h>

b = isxdigit(ch);

int ch;

Portability
ANSI

Description
This function tests if the character passed is a hexadecimal digit. This includes the decimal digits from '0' to '9', the lower-case letters from 'a' to 'f' and the upper-case letters from 'A' to 'F'.

Returns
0 if it is no hexadecimal digit, a value <>0 otherwise.

See also